//
//  MaterHeadView.m
//  LastTemp
//
//  Created by dllo on 15/4/25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MaterHeadView.h"

@implementation MaterHeadView
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addHeadView];
    }
    return self;
}
- (void)dealloc
{
    [_headView release];
    [super dealloc];
}

- (void)addHeadView
{
    self.headView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    [self addSubview:self.headView];
    [_headView release];

}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
